<view id="reserveCar">
<view class="car-top">
    <!-- <label>删除</label> -->
</view>
<scroll-view id="goods" scroll-top="0">
  <view class="goods-item clearfix"  wx:for="{{cartData.cartItems}}" wx:key="{{index}}"> 
   <view class="item-left">
        <!-- <checkbox  class="box" checked="{{item.goods.flag}}"  data-num="{{item.num}}" 
         data-flag="{{item.goods.flag}}" data-code="{{item.goods.goodsGbk}}" bindtap="bindSelect"/> -->
   </view>
   <view class="item-img">
       <image src="{{item.goods.imgUrl}}"></image>
   </view>
   <view class="item-right">
       <view class="title">
            {{item.goods.goodsName}}
       </view>
       <view class="number">
            <label class="goods_money">¥{{item.goods.price}}</label>
             <view class='add_sub_style'> 
                    <label class="add_style"  data-num="1" data-type="{{item.categoryCode}}" data-code="{{item.goods.goodsGbk}}" bindtap="addAction">
                        <image class='as_style' src="{{urlAddress}}/waimai_btn_add.png" />
                    </label>
                    <label  class="goods_num">{{item.num}}</label>
                    <label class="sub_style"   data-num="-1" data-type="{{item.categoryCode}}" data-code='{{item.goods.goodsGbk}}' bindtap="addAction">
                        <image class='as_style' src="{{urlAddress}}/waimai_btn_minus.png" />
                    </label>
                </view> 
      </view>
   </view>
  </view>
</scroll-view>
<view id='pay_view'>
        <label id="endMarker"></label>
        <!-- <checkbox  class="box2" checked="{{selectAll}}" data-flag="{{selectAll}}" bindtap="bindSelectAll"/> -->
        <!-- <label wx:if='{{cartData.num==0}}' class="no_msg">未购买商品</label>
        <label class="no_pay" wx:if='{{cartData.num==0}}'>去结算</label> -->
        <!-- <navigator  url="/pages/reservePay/reservePay" hover-class="none"> -->
        <label bindtap='turnPayPage' class="pay_style" wx:if='{{cartData.num!=0}}'>去结算({{number}})</label>
        <!-- </navigator> -->
        <!-- <label wx:if='{{goodsList.num!=0}}' class="pay_num">{{goodsList.num||0}}</label> -->
        <label wx:if='{{cartData.num!=0}}' class="pay_money" bindtap='goReserveCar'><span>¥{{cartPrice||0}}</span><span>优惠¥{{cartDiscountAmount||0}}</span></label>
    </view>
</view>